<?php
$str = "2015-2-22 9:22:21";

//将ISO标准时间转为时间戳
$time =  strtotime($str);

echo date("Y/m/d H:i:s",$time);